<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>
<?php
			$Date=$_POST['Date'];
			$Type=$_POST['Type'];
			$high=$_POST['high'];
			$low=$POST['low'];
			
			$link=mysql_connect(SAE_MYSQL_HOST_M.':'.SAE_MYSQL_PORT,SAE_MYSQL_USER,SAE_MYSQL_PASS);
                if($link)
                {
                    mysql_select_db(SAE_MYSQL_DB,$link);
                    //your code goes here	
                }
				$sql ="insert into Nanjingweather values('".$Date."','".$Type."','".$high."','".$low."')";
				 $result = mysql_query($sql)
                        or die(SQL语句执行失败);
					echo '插入成功';
			
			
					echo '<script language="javascript">
							setTimeout("window.history.back(-1);",1000); 
						  </script>
					';	

?>
<body>
</body>
</html>